//
//  myPresenter.h
//  MVPDemo
//
//  Created by mobao on 16/6/20.
//  Copyright © 2016年 mobao. All rights reserved.
//

#import "BasePresenter.h"
#import "ViewController.h"

//因为三种登录状态都是传回一个NSString，所以定义一个通用Block
typedef void (^LoginResult)(NSString *info);



@interface MyPresenter : BasePresenter

@property (nonatomic,strong)LoginResult loginResult;//声明Blokc

-(void)loginWithAccount:(NSString*)accuout password:(NSString*)password;

-(void)login2WithAccount:(NSString*)accuout password:(NSString*)password block:(void(^)(NSString *info))block;

@end
